<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>login page</title>
<style>
	.title {
		text-align: center;
	}

	.content {
		width: 500px;
		height: 100px;
		display: flex;
		margin: auto;
	}
	
	.userInfo {
		width: 150px;
	}
</style>
</head>
<body>

	<h1 class="title">login page</h1>
	
	<br><br>
	
	<div id="content" class="content">
		<form action="${staticContextPath}/say/helloWorld">
			username:<input id="username" class="userInfo" name="username" type="text">
			<br><br>
			password:<input id="password" class="userInfo" name="password" type="text">
			<br><br>
			<button id="login" class="login" type="submit">登录</button>
		</form>
	</div>
	

</body>
<script type="text/javascript" src="${staticContextPath}/resources/jquery/jquery-1.9.0.js"></script>
<script type="text/javascript" src="${staticContextPath}/resources/layer/layer.js"></script>
<script>
	
	$(document).ready(function() {
		
		/* $("#login").click(function() {
			$.post("${staticContextPath}/say/helloWorld?token='12456'", function() {
				console.log("请求成功!");
			});
		}) */
		
	})
	
</script>
</html>